<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户注册表</title>
</head>
<body>
<table border="1px" align="center" width="50%" cellspacing="0">
    <caption><b>用户注册表</b></caption>
    <form action="#" method="get">
        <tr>
            <td align="center">用户名</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td align="center">密码</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td align="center">确认密码</td>
            <td><input type="password" name="rePassword"></td>
        </tr>
        <tr>
            <td align="center">电子邮箱</td>
            <td><input type="text" name="e-mail"></td>
        </tr>
        <tr>
            <td align="center">手机号码</td>
            <td><input type="text" name="phone"></td>
        </tr>
        <tr>
            <td align="center">性别</td>
            <td>
                <input type="radio" name="sex" value="男" checked>男
                <input type="radio" name="sex" value="女">女
            </td>
        </tr>
        <tr>
            <td align="center">是否有房</td>
            <td>
                <input type="radio" name="home" value="有" checked>有
                <input type="radio" name="home" value="没有">没有
            </td>
        </tr>
        <tr>
            <td align="center">爱好</td>
            <td>
                <input type="checkbox" name="hobby">范冰冰
                <input type="checkbox" name="hobby" checked>刘亦菲
                <input type="checkbox" name="hobby">佟丽娅
                <input type="checkbox" name="hobby">杨颖
                <input type="checkbox" name="hobby">柳岩
            </td>
        </tr>
        <tr>
            <td align="center">户籍</td>
            <td>
                <select name="home" id="h1">
                    <option value="1">北京</option>
                    <option value="2">武汉</option>
                    <option value="3">上海</option>
                    <option value="4">深圳</option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="center">课程</td>
            <td>
                <select name="course" id="c1" multiple>
                    <option value="1">JavaEE</option>
                    <option value="2">web前端</option>
                    <option value="3">数据结构</option>
                    <option value="4">C++</option>
                    <option value="5">C#</option>
                    <option value="6">python</option>
                    <option value="7">html</option>
                </select>
            </td>
        </tr>
        <tr>
            <td align="center">头像</td>
            <td><input type="file" name="file"></td>
        </tr>
        <tr>
            <td align="center">个人介绍</td>
            <td><textarea name="self" id="s1" cols="60" rows="10"></textarea></td>
        </tr>
        <tr>
            <td align="center">验证码</td>
            <td><input type="text">8888</td>
        </tr>
        <tr>
            <td colspan="2" align="center"><input type="checkbox" name="xieYi">是否阅读并同意协议</td>
        </tr>
        <tr>
            <td colspan="2" align="center">
                <input type="submit" value="提交">
                <button type="reset">重置</button>
            </td>
        </tr>
    </form>
</table>
</body>
</html>